package com.jiafa.wjxt.controller;


import com.jiafa.wjxt.service.TUserService;
import com.jiafa.wjxt.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;


/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author jiafa
 * @since 2021-05-27
 */
@RestController
@RequestMapping("/user")
public class TUserController {
    @Autowired
    TUserService tUserService;

    @GetMapping("/hello")
    public Result test(){
        return Result.success("hello");
    }
}
